/*
 * @Author: 吴世扬 18368095041@163.com
 * @Date: 2024-04-07 11:01:22
 * @LastEditors: 吴世扬 18368095041@163.com
 * @LastEditTime: 2024-05-09 11:46:28
 * @FilePath: /cdss-admin-web/src/views/dashboard/useRank.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import rankImg from '@/assets/images/dashboard/rank.png';
import { ref } from 'vue';

export const useRank = () => {
    const title = '平台简报';

    const list = ref([
        {
            rank: 1,
            name: '李云龙',
            readCount: 9999,
            collectCount: 9999,
            likeCount: 9999,
            commentCount: 9999
        },
        {
            rank: 2,
            name: '王小明',
            readCount: 8888,
            collectCount: 8888,
            likeCount: 8888,
            commentCount: 8888
        },
        {
            rank: 3,
            name: '张武',
            readCount: 7777,
            collectCount: 7777,
            likeCount: 7777,
            commentCount: 7777
        },
        {
            rank: 4,
            name: '何嘉仪',
            readCount: 6666,
            collectCount: 6666,
            likeCount: 6666,
            commentCount: 6666
        },
        {
            rank: 5,
            name: '刘莉莉',
            readCount: 5555,
            collectCount: 5555,
            likeCount: 5555,
            commentCount: 5555
        }
    ]);

    return {
        title,
        rankImg,
        list
    };
};
